package com.hjm.project.profitDay.detailed.domain;

import com.hjm.framework.aspectj.lang.annotation.Excel;
import com.hjm.framework.web.domain.BaseEntity;
import lombok.Data;
import lombok.Getter;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 分润日结明细对象 profit_day_detailed
 * 
 * @author maker-platform
 * @date 2021-01-16
 */

@Data
public class ProfitDayDetailedReturn extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 交易流水号 */
    @Excel(name = "交易流水号")
    private String serial;

    @Excel(name = "终端SN")
    private String machineNum; //机器号

    @Excel(name = "代理商编号")
    private String addNo;

    @Excel(name = "代理商名称")
    private String AddName;

    /** 商户编号 */
    @Excel(name = "商户编号")
    private String merno;

    /** 服务商编号 */
    @Excel(name = "返现服务商编号")
    private String agentNo;

    /** 服务商名称 */
    @Excel(name = "返现服务商名称")
    private String agentName;

    /** 终端类型 */
    @Excel(name = "终端类型", readConverterExp = "0=传统,4=电签")
    private Long posType;

    @Excel(name = "返现类型", readConverterExp = "1=通讯费,2=服务费")
    private String type;

    /** 卡费 */
    @Excel(name = "金额(服务费/流量费)")
    private Double simFee;

    /** 税点 */
    @Excel(name = "税点(%)")
    private String taxPoint;

    /** 税金 */
    @Excel(name = "税金")
    private Double taxMoney;

    /** 分润金额 */
    @Excel(name = "返现金额")
    private Double profit;

    /** 创建日期 */
    @Excel(name = "返现日期")
    private String createDate;

    /** 卡类型 */
    //@Excel(name = "卡类型",readConverterExp = "0=未知,1=借记卡,1=借记卡,2=贷记卡,3=预付费卡")
    private String cardtype;

    /** 是否云闪付 */
   // @Excel(name = "是否云闪付",readConverterExp = "0=否,1=是")
    private String isysf;



    /** 交易金额 */
   // @Excel(name = "交易金额")
    private Double amount;

    private String localdate;

    /** 交易时间 */
  //  @Excel(name = "交易时间")
    private String localtime;



    /** 服务商分润档位代号 */
    //@Excel(name = "服务商分润档位代号")
    private String grade;

    /** 分润比率 */
   // @Excel(name = "分润比率")
    private BigDecimal gRate;

    /** 添加时间 */
    //@Excel(name = "添加时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addtime;

    /** 分润类型（0直推商户交易分润、1团队分润、2引流奖励） */
    //@Excel(name = "分润类型", readConverterExp = "0=直推商户交易分润,1=团队分润,2=引流奖励")
    private String ptype;





    /** 结算流水号 */
    //@Excel(name = "结算流水号")
    private String settleSerial;



    /** 税前利润 */
    //@Excel(name = "税前利润")
    private Double profitBerfortax;



    private String payType; //交易类型


    private String simType;

    @Getter
    private String manuNum;

    public void setManuNum(String manuNum) {
        this.manuNum = manuNum;
    }

    public Double getSimFee() {
        return simFee;
    }

    public void setSimFee(Double simFee) {
        this.simFee = simFee;
    }

    public String getAddNo() {
        return addNo;
    }

    public void setAddNo(String addNo) {
        this.addNo = addNo;
    }

    public String getAddName() {
        return AddName;
    }

    public void setAddName(String addName) {
        AddName = addName;
    }


    public String getMachineNum() {
        return machineNum;
    }

    public void setMachineNum(String machineNum) {
        this.machineNum = machineNum;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSerial() {
        return serial;
    }

    public void setSerial(String serial) {
        this.serial = serial;
    }

    public String getCardtype() {
        return cardtype;
    }

    public void setCardtype(String cardtype) {
        this.cardtype = cardtype;
    }

    public String getIsysf() {
        return isysf;
    }

    public void setIsysf(String isysf) {
        this.isysf = isysf;
    }

    public String getAgentNo() {
        return agentNo;
    }

    public void setAgentNo(String agentNo) {
        this.agentNo = agentNo;
    }

    public String getAgentName() {
        return agentName;
    }

    public void setAgentName(String agentName) {
        this.agentName = agentName;
    }

    public String getMerno() {
        return merno;
    }

    public void setMerno(String merno) {
        this.merno = merno;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public String getLocaldate() {
        return localdate;
    }

    public void setLocaldate(String localdate) {
        this.localdate = localdate;
    }

    public String getLocaltime() {
        return localtime;
    }

    public void setLocaltime(String localtime) {
        this.localtime = localtime;
    }

    public Double getProfit() {
        return profit;
    }

    public void setProfit(Double profit) {
        this.profit = profit;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public BigDecimal getgRate() {
        return gRate;
    }

    public void setgRate(BigDecimal gRate) {
        this.gRate = gRate;
    }

    public Date getAddtime() {
        return addtime;
    }

    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }

    public String getPtype() {
        return ptype;
    }

    public void setPtype(String ptype) {
        this.ptype = ptype;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getSettleSerial() {
        return settleSerial;
    }

    public void setSettleSerial(String settleSerial) {
        this.settleSerial = settleSerial;
    }

    public String getTaxPoint() {
        return taxPoint;
    }

    public void setTaxPoint(String taxPoint) {
        this.taxPoint = taxPoint;
    }

    public Double getProfitBerfortax() {
        return profitBerfortax;
    }

    public void setProfitBerfortax(Double profitBerfortax) {
        this.profitBerfortax = profitBerfortax;
    }

    public Double getTaxMoney() {
        return taxMoney;
    }

    public void setTaxMoney(Double taxMoney) {
        this.taxMoney = taxMoney;
    }

    public Long getPosType() {
        return posType;
    }

    public void setPosType(Long posType) {
        this.posType = posType;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }
}
